#ifndef CpPolynom2D_h
#define CpPolynom2D_h

#include <TObject.h>
class CpPolynom2D : public TObject {
  public:
    CpPolynom2D();
    ~CpPolynom2D();

    static Double_t DoPolynom0(Double_t *x, Double_t *par);
    static Double_t DoPolynom1(Double_t *x, Double_t *par);
    static Double_t DoPolynom2(Double_t *x, Double_t *par);
    static Double_t DoPolynom3(Double_t *x, Double_t *par);
    static Double_t DoPolynom4(Double_t *x, Double_t *par);
    static Double_t DoPolynom5(Double_t *x, Double_t *par);
    static Double_t DoPolynom6(Double_t *x, Double_t *par);
    static Double_t DoPolynom7(Double_t *x, Double_t *par);
    static Double_t DoPolynom8(Double_t *x, Double_t *par);
    static Double_t DoPolynom9(Double_t *x, Double_t *par);
    static Double_t DoPolynom10(Double_t *x, Double_t *par);

    static Int_t GetNumberOfParameters(Int_t grade);

  private:

    ClassDef(CpPolynom2D, 1);
};

#endif
